﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Business;
using Domain;
using System.Web.Configuration;

namespace HotelBrisayArena
{
    public partial class Contactenos : System.Web.UI.Page
    {
        private HotelBusiness hotelBusiness = new HotelBusiness(WebConfigurationManager.ConnectionStrings["ApplicationServices"].ToString());

        protected void Page_Load(object sender, EventArgs e)
        {
            Hotel hotel = new Hotel();
            hotel = hotelBusiness.GetDatosHotel(1);
            lblTelefono1.Text = hotel.Telefono1;
            lblTelefono2.Text = hotel.Telefono2;
            lblCodigoPostal.Text = hotel.CodigoPostal;
            lblEmail.Text = hotel.Email;
        }
    }
}